package com.myself.module.ci.authority.login.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author ChenZhongXian
 * @version 1.0
 * @description 前端-注册
 * @date 2024/5/18 15:41
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("前端-注册")
public class RegisterForm {
    /**
     * 用户名
     */
    @ApiModelProperty(value = "用户名")
    private String userName;

    /**
     * 密码
     */
    @ApiModelProperty(value = "`密码`")
    private String password;


    /**
     * 地址
     */
    @ApiModelProperty(value = "地址")
    private String address;

    /**
     * 邮箱
     */
    @ApiModelProperty(value = "邮箱")
    private String email;

    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    @NotNull(message = "手机号必填项")
    private String phone;


}
